from django.conf.urls.defaults import patterns, include, url
from views import unblog, unblog_topic_list

urlpatterns = patterns('',

    url(r'^$', unblog, name='unblog'),
    url(r'^/(?P<topic_id>\d+)/$', unblog, name='unblog_topic'),
    url(r'^/(?P<topic_id>\d+)/(?P<post_id>\d+)/', unblog, name='unblog_post'),
    url(r'^/topics/$', unblog_topic_list, name = 'unblog_topic_list'),
)
